#ifndef MQTT_HANDLER_H
#define MQTT_HANDLER_H

#include <WiFi.h>
#include <PubSubClient.h>

extern WiFiClient espClient;
extern PubSubClient client;

void initMQTT();
void initWificonfig();
void callback(char* topic, byte* payload, unsigned int length);
void handleMQTT();

#endif    